'''
@文件    :app.py
@说明    :
@时间    :2020/04/02 23:12:40
@作者    :didiplus
@版本    :1.0
'''

from flask import Flask


app = Flask (__name__)

from app.api.song.views import song
from app.api.artists.views import artists
from app.api.user.views import user
from app.api.comment.views import comment
from app.api.dj.views import dj
from app.api.mv.views import mv
from app.api.playlist.views import playlist
from app.api.msg.views import msg
from app.api.search.views import search
from app.api.video.views import video
from app.api.other.views import other
app.register_blueprint(song)
app.register_blueprint(artists)
app.register_blueprint(user)
app.register_blueprint(comment)
app.register_blueprint(dj)
app.register_blueprint(mv)
app.register_blueprint(msg)
app.register_blueprint(search)
app.register_blueprint(video)
app.register_blueprint(other)




if __name__ == '__main__':
    app.run(debug=True,host='0.0.0.0',port=5001)
    